An Optimized Union-Find Algorithm for Connected Components Labeling Using GPUs

نویسندگان

  • Jun Chen
  • Qiang Yao
  • M. S. Houari Sabirin
  • Keisuke Nonaka
  • Hiroshi Sankoh
  • Sei Naito
چکیده

In this paper, we report on an optimized union-find (UF) algorithm that can label the connected components on a 2D image efficiently by employing GPU architecture. The proposed method comprises three phases: UF-based local merge, boundary analysis, and link. The coarse labeling in local merge, which makes computation efficient because the length of the labelequivalence list is sharply suppressed . Boundary analysis only manages the cells on the boundary of each thread block to launch fewer CUDA threads. We compared our method with the label equivalence algorithm [1], conventional parallel UF algorithm [2], and line-based UF algorithm [3]. Evaluation results show that the proposed algorithm speeds up the average running time by around 5x, 3x, and 1.3x, respectively.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Study on Connected Components Labeling algorithms using GPUs

Connected Components Labeling (CCL) is a wellknown problem with many applications in Image Processing. We propose in this article an optimized version of CCL for GPUs using GPGPU (General-Purpose Computing on Graphics Processing Units) techniques and the usual UnionFind algorithm to solve the CCL problem. We compare its performance with an efficient serial algorithm and with Label Equivalence, ...

متن کامل

Two Strategies to Speed up Connected Component Labeling Algorithms

This paper presents two new strategies to speed up connected component labeling algorithms. The first strategy employs a decision tree to minimize the work performed in the scanning phase of connected component labeling algorithms. The second strategy uses a simplified union-find data structure to represent the equivalence information among the labels. For 8-connected components in a two-dimens...

متن کامل

An approach to Improve Particle Swarm Optimization Algorithm Using CUDA

The time consumption in solving computationally heavy problems has always been a concern for computer programmers. Due to simplicity of its implementation, the PSO (Particle Swarm Optimization) is a suitable meta-heuristic algorithm for solving computationally heavy problems. However, despite the simplicity, the algorithm is inefficient for solving real computationally heavy problems but the pr...

متن کامل

Linear Variation and Optimized Algorithm of Connected-Component Labeling in Binary Image

Linear variation is a topological characteristic of a function of two variables. The problem of linear variation computing can be reduced to the problem of counting connected components in a binary image with eight-connected connectivity. The proposed method is essentially a modification of some known raster algorithms for connected components labeling that groups pixels into 2× 2 cells. A perf...

متن کامل

Implementing Union-Find Algorithm with Base SAS DATA Steps and Macro Functions

Union-Find algorithm is a classic algorithm used to form the union of disjoined sets and find connected components of a graph from a given set of vertices and edges. The algorithm is often used in data manipulations that involve graphs, trees, hierarchies, and linked networks. A tree data structure can be used to implement the algorithm. A SAS data set is a tuple data structure that is excellen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1708.08180  شماره 

صفحات  -

تاریخ انتشار 2017